<template>
  <el-container>
    <el-header>
      <el-affix :offset="0">
        <CommonHeader/>
      </el-affix>
    </el-header>

    <el-main>
      <el-scrollbar>
        <router-view/>
      </el-scrollbar>
    </el-main>

  </el-container>
</template>

<script setup>

import CommonHeader from "../components/CommonHeader.vue";
</script>

<style lang="less" scoped>
.el-main {
  width: 70%;
  margin: 0 auto;
}
</style>